package com.zhangxi.line.service.impl;

import com.zhangxi.line.dao.NewsTypeDao;
import com.zhangxi.line.dao.impl.NewsTypeDaoImpl;
import com.zhangxi.line.pojo.NewsType;
import com.zhangxi.line.service.NewsTypeService;

import java.util.List;

/**
 * ClassName: NewsTypeServiceImpl
 * Package: com.zhangxi.line.service.impl
 */
public class NewsTypeServiceImpl implements NewsTypeService {
    private NewsTypeDao newsTypeDao =new NewsTypeDaoImpl();
    @Override
    public List<NewsType> findAll() {
        return newsTypeDao.findAll();
    }

}